﻿using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using ZhongKeSite.Entity;
using ZhongKeSite.Entity.Models;

namespace ZhongKeSite.Service
{
    public interface IMileStoneService
    {
        #region 里程碑列表
        LayPager<MileStone> GetMileStonePagedList(int pageIndex, int pageSize, Expression<Func<MileStone, bool>> predicate);
        ResultResponse<MileStone> GetMileStone(string id);
        ResultResponse AddMileStone(MileStone model);
        ResultResponse UpdateMileStone(MileStone model);
        ResultResponse UpdateMileStoneState(List<string> ids, string userName, DataStatus dataStatus);
        #endregion
    }
}
